﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200148F RID: 5263
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockBackGroundMusicCsReq : IMessage<UnlockBackGroundMusicCsReq>, IMessage, IEquatable<UnlockBackGroundMusicCsReq>, IDeepCloneable<UnlockBackGroundMusicCsReq>, IBufferMessage
	{
		// Token: 0x17004240 RID: 16960
		// (get) Token: 0x0600EB46 RID: 60230 RVA: 0x00274D3C File Offset: 0x00272F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockBackGroundMusicCsReq> Parser
		{
			get
			{
				return UnlockBackGroundMusicCsReq._parser;
			}
		}

		// Token: 0x17004241 RID: 16961
		// (get) Token: 0x0600EB47 RID: 60231 RVA: 0x00274D43 File Offset: 0x00272F43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockBackGroundMusicCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004242 RID: 16962
		// (get) Token: 0x0600EB48 RID: 60232 RVA: 0x00274D55 File Offset: 0x00272F55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockBackGroundMusicCsReq.Descriptor;
			}
		}

		// Token: 0x0600EB49 RID: 60233 RVA: 0x00274D5C File Offset: 0x00272F5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockBackGroundMusicCsReq()
		{
		}

		// Token: 0x0600EB4A RID: 60234 RVA: 0x00274D6F File Offset: 0x00272F6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockBackGroundMusicCsReq(UnlockBackGroundMusicCsReq other) : this()
		{
			this.unlockIds_ = other.unlockIds_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EB4B RID: 60235 RVA: 0x00274D99 File Offset: 0x00272F99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockBackGroundMusicCsReq Clone()
		{
			return new UnlockBackGroundMusicCsReq(this);
		}

		// Token: 0x17004243 RID: 16963
		// (get) Token: 0x0600EB4C RID: 60236 RVA: 0x00274DA1 File Offset: 0x00272FA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> UnlockIds
		{
			get
			{
				return this.unlockIds_;
			}
		}

		// Token: 0x0600EB4D RID: 60237 RVA: 0x00274DA9 File Offset: 0x00272FA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockBackGroundMusicCsReq);
		}

		// Token: 0x0600EB4E RID: 60238 RVA: 0x00274DB7 File Offset: 0x00272FB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockBackGroundMusicCsReq other)
		{
			return other != null && (other == this || (this.unlockIds_.Equals(other.unlockIds_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EB4F RID: 60239 RVA: 0x00274DEC File Offset: 0x00272FEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.unlockIds_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EB50 RID: 60240 RVA: 0x00274E20 File Offset: 0x00273020
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EB51 RID: 60241 RVA: 0x00274E28 File Offset: 0x00273028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EB52 RID: 60242 RVA: 0x00274E31 File Offset: 0x00273031
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.unlockIds_.WriteTo(ref output, UnlockBackGroundMusicCsReq._repeated_unlockIds_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EB53 RID: 60243 RVA: 0x00274E58 File Offset: 0x00273058
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.unlockIds_.CalculateSize(UnlockBackGroundMusicCsReq._repeated_unlockIds_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EB54 RID: 60244 RVA: 0x00274E91 File Offset: 0x00273091
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockBackGroundMusicCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.unlockIds_.Add(other.unlockIds_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EB55 RID: 60245 RVA: 0x00274EBF File Offset: 0x002730BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EB56 RID: 60246 RVA: 0x00274EC8 File Offset: 0x002730C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U && num != 42U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.unlockIds_.AddEntriesFrom(ref input, UnlockBackGroundMusicCsReq._repeated_unlockIds_codec);
				}
			}
		}

		// Token: 0x04005D26 RID: 23846
		private static readonly MessageParser<UnlockBackGroundMusicCsReq> _parser = new MessageParser<UnlockBackGroundMusicCsReq>(() => new UnlockBackGroundMusicCsReq());

		// Token: 0x04005D27 RID: 23847
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D28 RID: 23848
		public const int UnlockIdsFieldNumber = 5;

		// Token: 0x04005D29 RID: 23849
		private static readonly FieldCodec<uint> _repeated_unlockIds_codec = FieldCodec.ForUInt32(42U);

		// Token: 0x04005D2A RID: 23850
		private readonly RepeatedField<uint> unlockIds_ = new RepeatedField<uint>();
	}
}
